package study

import "fmt"

func Study() {
	fmt.Println("Google", "Runoob")
	fmt.Println("Hello, World!")
	fmt.Println("菜鸟教程：runoob.com")
	// %d 表示整型数字，%s 表示字符串
	var stockcode = 123
	var enddate = "2020-12-31"
	var url = "Code=%d&endDate=%s"
	var target_url = fmt.Sprintf(url, stockcode, enddate)
	fmt.Println(target_url)
	fmt.Printf(url, stockcode, enddate)
}
